<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>直播统计</title>
<link rel="stylesheet" type="text/css" href="__CSS__main.css"/>
<load href="__PUBLIC__/js/jquery-1.9.1.min.js" />
<import type='js' file="js.main" />
<style type="text/css">
.all{width: 100%;}
.liveitem{float: left; width: 11.5%; background-color: #00A388; position: fixed; height: 100%; color: #fff; overflow: hidden;}
.liveitem div{padding: 12px; padding-right: 0px; font-size: 14px; line-height: 18px; position: relative; width: 103%; height: 96%; overflow: auto; overflow-x: hidden;}
.liveitem a{display: block; clear: both; color: #eee; cursor: pointer; padding: 10px 0px; padding-left: 5px; padding-right: 16px; font-size:12px;}
.liveitem a:hover{color: #f9ec21; padding-left: 5px;}
.liveitem a.hover{color: #414141; background-color: #fff; padding-left: 5px;}
.t_right{float: right; width: 88%; position: absolute; right: 0px; overflow: auto; overflow-x: hidden;  height: 98%;}
.areacss{background-color:#eee; height: 32px; line-height: 32px; font-size:16px; padding:0px 12px;}
#iframe{display: block; position: absolute; width: 100%; height: 100%;}
</style>
</head>

<body>
<div class="all">
	<div class="liveitem">
		<div>
			<a v="{:U('center')}">基本资料管理</a>
			<a v="{:U('hb')}">红包接口管理</a>
			<if condition="$Think.session.userinfo.type eq 1">
			<a v="{:U('activity')}">一物一码规则</a>
			</if>
		</div>
	</div>
	<div class="t_right">
		<iframe id="iframe" src="{:U('center')}" frameborder="0" scrolling="yes" width="100%" height="100%"></iframe>
	</div>
</div>
<script type="text/javascript">
$(function(){
	$(".liveitem a:first").addClass('hover');
	$(".liveitem a").each(function(index, element) {
        var t = $(this);
		t.click(function(){
			$(this).addClass("hover").siblings().removeClass("hover");
			var v = $(this).attr('v');
			$("#iframe").attr('src',v);
		})
    });

})
</script>
</body>
</html>
